/* dialog和messageBox 背景蒙版 */

.v-modal {
  background-color: #333333;
  opacity: 0.3;
}

/* alert：$message-关闭按钮位置 */

.troila-alert.el-message.is-closable .el-message__content {
  padding-right: 32px;
}

.troila-alert {
  padding-top: 12px;
  padding-bottom: 12px;
}

.troila-alert > i:first-child {
  padding-right: 8px;
  font-size: 20px;
}

.troila-alert .el-message__closeBtn {
  color: #a6aabb;
  opacity: 0.75;
  transition: opacity 0.15s;
}

.troila-alert .el-message__closeBtn:hover {
  opacity: 1;
}

.troila-alert-success {
  background-color: #dff0d8;
  color: #4a874b;
  border: 0;
}

.troila-alert-error {
  background-color: #fee7e7;
  color: #d13633;
  border: 0;
}

/* messageBox $msgbox $confirm $message $prompt */

.troila-confirm.el-message-box {
  border-radius: 4px;
  padding-bottom: 40px;
  width: 490px;
  box-sizing: border-box;
}

.troila-confirm .el-message-box__header {
  padding: 14px 7px 0px;
}

.troila-confirm .el-message-box__headerbtn {
  top: 14px;
  height: 24px;
  line-height: 24px;
}

.troila-confirm .el-message-box__headerbtn .el-message-box__close {
  color: #4b5071;
  font-size: 18px;
}

.troila-confirm .el-message-box__status {
  color: #e73c3c;
  /* top: 63px; */
  /*  left: 138px; */
  /* left: 24%; */
  display: inline-block;
  position: relative;
  vertical-align: top;
  top: 0;
  transform: translateY(-1px);
}

.troila-confirm .el-message-box__status + .el-message-box__message {
  /*   padding-left: 166px; */
  /* padding-left: 30%; */
  padding-left: 8px;
  font-size: 18px;
  display: inline-block;
  color: #4b5071;
  vertical-align: top;
}

.troila-confirm .el-message-box__title {
  display: block;
  font-size: 18px;
  color: #4b5071;
  border-bottom: 1px solid #eceff4;
  text-align: left;
  padding-bottom: 12px;
  line-height: 24px;
  text-align: center;
}

.troila-confirm .el-message-box__content {
  padding: 52px 7px 0;
  color: #2a323a;
  min-height: 112px;
  /* min-height: 76px; */
  text-align: center;
}

.troila-confirm .el-message-box__message > p > span {
  padding: 0 6px;
}

.troila-confirm .el-message-box__message > p {
  line-height: 22px;
}

.troila-confirm .el-message-box__message > p > div {
  padding-top: 10px;
}

/* .troila-confirm .el-message-box__message > p::before {
  content: "";
  display: inline-block;
  background: url("../images/tips-small.png") no-repeat center center/100% 100%;
  width: 25px;
  height: 25px;
  vertical-align: top;
  margin: -2px 8px -1px 0;
} */

.troila-confirm .el-button {
  width: 80px;
  height: 32px;
  padding: 0;
  box-sizing: border-box;
  font-size: 14px;
  display: inline-block;
  /* float: right; */
}

.troila-confirm .el-message-box__btns {
  text-align: center;
}

.troila-confirm .el-message-box__btns > .el-button:nth-of-type(1) {
  float: right;
  margin-right: 136px;
}

.troila-confirm .el-message-box__btns > .el-button:nth-of-type(2) {
  float: left;
}

.troila-confirm .el-message-box__btns button + button {
  margin-left: 139px;
}

/* .troila-confirm .el-message-box__btns button:nth-last-child(n + 2) {
  margin-left: 24px;
} */

/* el-dialog */

.troila-dialog .el-dialog {
  border-radius: 4px;
}

.troila-dialog .el-input__inner {
  width: 100%;
}

.troila-dialog .el-dialog__footer {
  text-align: center;
  padding: 0px 20px 40px;
}

.troila-dialog .el-dialog__body {
  padding: 30px 76px 60px;
}

.troila-dialog .el-dialog__footer button + button {
  margin-left: 38px;
}

.troila-dialog .el-dialog__header {
  padding: 25px 20px 0px;
}

.troila-dialog .el-dialog__headerbtn {
  top: 22px;
  height: 24px;
  line-height: 24px;
}

.troila-dialog .el-dialog__title {
  display: block;
  text-align: center;
  font-size: 18px;
  color: #4b5071;
  border-bottom: 1px solid #f4f7fd;
  /* text-align: left; */
  padding-bottom: 14px;
}

.troila-dialog .el-dialog__headerbtn .el-dialog__close {
  color: #4b5071;
  font-size: 18px;
}

.troila-dialog .el-dialog__wrapper .el-dialog {
  width: 450px;
}

.troila-dialog .image {
  background: url(../images/tips-big.png) no-repeat center center;
  width: 50px;
  height: 50px;
  margin: 0 auto;
  text-align: center;
}

.troila-dialog .detail {
  margin: 10px 0;
  text-align: center;
  font-size: 14px;
  color: #333333;
}

.troila-dialog .time {
  font-size: 12px;
  padding-bottom: 10px;
  color: #a6aabb;
  display: block;
  text-align: center;
}

.troila-dialog .small-image {
  display: inline-block;
  background: url(../images/tips-small.png) no-repeat center center;
  width: 25px;
  height: 25px;
}

.troila-dialog .desc {
  vertical-align: super;
}

/* .troila-dialog .el-button {
  border-radius: 20px;
} */

.troila-dialog .el-form-item__label {
  width: 127px !important;
  padding-right: 10px;
}

.troila-dialog .troila-form {
  padding: 0 7px;
  width: auto;
  display: inline-block;
}

.troila-dialog .troila-form .el-form-item {
  /* margin-bottom: 20px; */
  padding-left: 0;
}

.troila-dialog .el-form-item__content {
  margin-left: 127px !important;
}

.troila-dialog .el-button {
  width: 80px;
  height: 32px;
  padding: 0;
  box-sizing: border-box;
}

.troila-dialog .el-dialog__body .troila-form .el-form-item .el-input {
  width: 470px;
}
.troila-dialog .el-form-item__error {
  left: unset;
  right: 5px;
}

/* el-form */

.troila-form {
  font-size: 0;
  text-align: left;
  padding: 16px 0;
}

.troila-form .width37 {
  width: 37%;
}

.troila-form .el-form-item__error {
  left: unset;
  right: 0;
}

.troila-form .el-radio-group + .el-form-item__error {
  left: 100%;
  right: unset;
  white-space: nowrap;
  margin-left: 30px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
}

.troila-form .el-input,
.troila-form .el-textarea {
  width: 300px;
}

.troila-form .el-textarea .el-input__count {
  line-height: 17px;
  height: 24px;
  bottom: 1px;
}

.troila-form .el-form-item__label {
  line-height: 32px;
  padding: 0 16px 0 0;
}
.troila-form .el-form-item__label::after {
  content: "：";
  margin-right: -14px;
}

.troila-form .el-input__suffix {
  line-height: 32px;
}

.troila-form .el-input__icon {
  line-height: 32px;
  height: 32px;
}

.troila-form .el-input__prefix {
  line-height: 32px;
}

.troila-form .el-form-item__content {
  line-height: 32px;
}

.troila-form .el-col-2 {
  text-align: center;
  line-height: 32px;
}

.troila-form .el-form-item__label {
  /* padding: 0 12px 0 0; */
  padding: 0 16px 0 0;
}

.troila-form .el-input__inner {
  vertical-align: top;
  height: 32px;
  border-radius: 3px;
  padding: 0 10px;
}

.troila-form .el-form-item {
  /* margin-bottom: 20px; */
  margin-bottom: 0px;
  padding: 10px 0;
  display: inline-block;
  padding-left: 100px;
}

.troila-form .el-col-11 {
  margin-bottom: -20px;
}

.troila-form .el-input--prefix .el-input__inner {
  padding-left: 30px;
}

.troila-form .el-input--suffix .el-input__inner {
  padding-right: 30px;
}

.troila-form .el-textarea__inner {
  resize: none;
  padding: 5px 10px;
}

.troila-form .detail {
  display: flex;
  line-height: 32px;
}

.troila-form .detail .el-input__inner {
  border-radius: 3px 0 0 3px;
}

.troila-form .detail .el-input .el-input__inner::after {
  content: "查询";
}

.troila-form .detail .find {
  box-sizing: border-box;
  padding: 0 10px;
  width: 15%;
  height: 32px;
  border-radius: 0 3px 3px 0;
}

.troila-form .el-button {
  width: 80px;
  height: 32px;
  line-height: 30px;
  padding: 0;
  box-sizing: border-box;
  vertical-align: top;
}

.troila-form .el-button {
  /* margin-right: 18px; */
  margin-right: 38px;
}
.table-box-title .troila-form .el-button {
  margin-right: 18px;
}

.troila-table .el-button {
  margin-right: 16px;
}

.troila-form .el-button:last-child,
.troila-table .el-button:last-child {
  margin-left: 0;
}

.troila-form .el-button + .el-button,
.troila-table .el-button + .el-button {
  /* margin-left: 18px; */
  margin-left: 0;
}

.troila-form .el-date-editor .el-range-separator {
  line-height: 30px;
}

.troila-form-large {
  padding: 34px 240px 34px 0;
}

.troila-form .form-box .el-form-item {
  display: block;
}

.troila-form.troila-form-large .el-input__inner,
.troila-form.troila-form-large .el-textarea__inner {
  border-radius: 6px;
}

.troila-form.troila-form-large .el-input__inner {
  height: 40px;
}

.troila-form.troila-form-large .el-form-item__label {
  line-height: 40px;
}

.troila-form.troila-form-large .el-input__suffix {
  line-height: 40px;
}

/* button-group */

.troila-group {
  text-align: right;
  padding: 20px 0 10px;
}

.troila-group i {
  font-size: 16px;
}

.troila-group .el-button {
  padding: 7px 12px;
}

.troila-group .el-button-group > .el-dropdown > .el-button .el-icon--right {
  font-size: 12px;
  vertical-align: top;
  line-height: 16px;
  margin-left: 0;
}

/* el-pagination */

.troila-page.el-pagination__total {
  margin-left: 12px;
}

.troila-page .el-pager li {
  border: 1px solid #e2e2e2;
  min-width: 40px;
  margin-right: -1px;
  line-height: 30px;
  height: 30px;
}

.troila-page.el-pagination .btn-next,
.troila-page.el-pagination .btn-prev {
  padding: 0 13px;
  border: 1px solid #e2e2e2;
  margin-right: -1px;
  min-width: 38px;
}

.troila-page.el-pagination .btn-next {
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}

.troila-page.el-pagination .btn-prev {
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}

.troila-page.el-pagination button,
.troila-page.el-pagination span:not([class*="suffix"]) {
  line-height: 30px;
  height: 30px;
}

.troila-page .el-pagination__total {
  margin-left: 20px;
}

/* troila-table */

.troila-table {
  margin-bottom: 34px;
}

.troila-table div.cell .button {
  margin-right: 16px;
}

.troila-table div.cell .button:nth-last-child(1) {
  margin-right: 0;
}

.troila-table th .el-checkbox::after {
  content: "全选";
  padding-left: 8px;
}
.troila-table.el-table th,
.troila-table td {
  padding: 7px 0;
}

.troila-table .cell {
  line-height: 30px;
}
.troila-table.el-table th > .cell {
  line-height: 26px;
}

.troila-table td button > span,
.troila-table td button > span > svg {
  display: inline-block;
  vertical-align: top;
}

.troila-table.el-table .caret-wrapper {
  height: 28px;
  vertical-align: top;
}

.troila-table.el-table .sort-caret.ascending {
  top: 3px;
}

.troila-table.el-table .sort-caret.descending {
  bottom: 3px;
}

.troila-table button {
  padding: 0;
  vertical-align: middle;
}

.troila-table-tooltip {
  transform: translateY(8px);
}

/* el-table滚动条样式修改为统一样式 */

.el-table__body-wrapper::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.el-table__body-wrapper::-webkit-scrollbar-thumb {
  background-color: #ddd;
  border-radius: 3px;
}

.troila-table .el-table__fixed,
.troila-table .el-table__fixed-right {
  height: 100% !important;
}

/* popper */

.troila-btnGroup-popper .el-dropdown-menu__item {
  padding: 0 30px;
}

.troila-btnGroup-popper,
.troila-btnGroup-popper .el-scrollbar__wrap {
  max-height: 360px;
}

.troila-popper .troila-choose {
  margin-left: -17px;
  font-size: 12px;
}

/* el-transfer */

.troila-transfer {
  text-align: center;
  height: 450px;
}

.troila-transfer .el-transfer-panel {
  text-align: left;
  height: 100%;
  width: 250px;
}

.troila-transfer .el-input__prefix {
  right: 5px;
  left: unset;
}

.troila-transfer .el-input__icon {
  line-height: 33px;
  height: 32px;
  margin-left: 0px;
}

.troila-transfer .el-transfer-panel__filter .el-input__inner {
  padding-left: 10px;
  padding-right: 30px;
}

.troila-dialog .troila-transfer .el-button {
  border-radius: 4px;
  width: 32px;
}

.troila-dialog .troila-transfer .el-input {
  width: calc(100% - 30px);
}

/* .troila-transfer
  .el-checkbox__input.is-indeterminate
  .el-checkbox__inner::before {
  background-color: #4d6ee8;
} */

.troila-transfer .el-transfer-panel .el-checkbox__inner::after {
  /* border-color: #4d6ee8; */
  top: 2px;
}

/* .el-table td {
  border-bottom: 1px s #eee;
}
.el-table .el-table__row:last-child td {
  border-bottom: none;
} */

.el-transfer-panel__list.is-filterable {
  height: 345px;
}

.header-popper {
  /* margin-top: 4px !important; */
  min-width: auto;
  padding: 0 14px;
  height: 34px;
  line-height: 34px;
}

.colorBox .popper__arrow {
  left: 50% !important;
  margin-left: -6px;
}
